<style type="text/css">
	#navlist li
	{
		display:inline;
		list-style-type:none;
		padding-right:10px;
	}
	#navlist li p
	{
		display:inline;
		list-style-type:none;
		padding-right:20px;
	}
	#header
	{
	   font-size: 16px;
	   color:#0000FF;
	}
</style>
<div>
	<a href='<?php echo url_for('@homepage') ?>'>Learn vietnamese online > </a>
	<a href="#" ><?php  echo $coursename ?> ></a>
	<a href="<?php echo url_for('') ?>">
	<?php
		if(isset($level))
			echo $level->getLevelName();
		else
			echo "Unknow";
	?>
	>
	</a>
</div>
<div>
	<ul id="navlist" >
	<li><p id="header" style="border-bottom:1px solid #CCCC00; " ><?php echo $coursename . ' - '. $level->getLevelName() ?> </p></li>
	<li><?php echo link_to('LevelTest', '@leveltest') ?></li>
	<li>Schedule</li>
	<li>Syllabus</li>
	<li>Study kit</li>
	</ul>
	<p> <?php echo link_to('SignUp', '@homepage') ?> </p>
	<p>Target Population</p>
	<?php echo $level->getTargetPopulation() ?>
	<p style="border-bottom:3px dotted #CCCC00;"></p>
	<p>Duration of Each Course</p>
	<div>
	<table>
	 <?php foreach ( $classes as $cls): ?>
		<tr>
			<td> <?php echo $cls->getClsName() ?></td>
			<td> <?php echo date('Y-m-d', strtotime( $cls->getClsStartTime() ) ) ?> <td>
			<td> <?php echo date('Y-m-d', strtotime( $cls->getClsEndTime() ) )?> <td>
			<td> <?php $datefrom = strtotime($cls->getClsStartTime());
						$dateto = strtotime($cls->getClsEndTime());
			 			echo (int)( ( $dateto - $datefrom )/( 60*60*24*7) ); 
			 ?> Weeks 
			<td>
		</tr>
	 <?php endforeach; ?>
	 </table>
	 </div>
	 <p style="border-bottom:3px dotted #CCCC00;"></p>
	 <p>Structure and Goals of Scourse</p>
	 <p><?php echo $level->getStructureAndGoals() ?></p>
	 <p style="border-bottom:3px dotted #CCCC00;"></p>
	 <p>At the end of the Course the student will: </p>
	 <p><?php echo $level->getResultAtComplete() ?></p>
</div>
<hr />
<a href="<?php echo url_for('level/index') ?>">Back</a>
